package com.library.library.model.pager;

import org.springframework.data.domain.Pageable;

/**
 * @Auther: 杜習田
 * @Date: 2020/2/29 15:39
 * @Description:
 */
public interface PagerService {

    Pageable defPager(int pageNum, int pageSize);
    Pageable sortASCPager(String sortString,int pageNum,int pageSize);
    Pageable sortDescPager(String sortString,int pageNum,int pageSize);

}
